//============================================================================
// Name        : Found.h
// Author      : Anthea Neums, Jonas Halbach
//			   :
// Description : This is the Interface of the Class Found which is used to
//				 store the positions where the pattern and the genom match.
//============================================================================

#ifndef FOUND_H_
#define FOUND_H_

#include <iostream>
#include <string.h>

namespace algorithm {

class Found {
public:
	Found(int genomPosition, int patternPosition, int matchingLength, char *string);
	virtual ~Found();
	int getGenomPosition();
	int getPatternPosition();
	int getMatchingLength();
	char *getString();
	void print();
	void setGenomPosition(int genomPosition);
	void setPatternPosition(int patternPosition);
	void setMatchingLength(int matchingLength);
	void setString(char *string);

	bool operator == (const Found *found);
	bool operator != (const Found *found);
	bool operator == (const Found found);
	bool operator != (const Found found);

private:
	int patternPosition;
	int genomPosition;
	int matchingLength;
	char *string;
};

} /* namespace algorithm */
#endif /* FOUND_H_ */
